CallApplicationListener

Interface for the application to receive call backs for Call operations.

After receiving the instance of CallServiceInterface implementation, this listener must be assigned.

CallApplicationListener listener = null; // assign to custom implementation *

CallServiceInterface callService = ServiceProvider.getInstance().getCallService(); *

callService.setCallEventsListener(listener); *

Since

2.0.0

Functions

Link copied to clipboard
abstract fun callAdditionalInfoChanged(call: CallInterface?, events: Map<String?, String?>?)

Triggered when a detailed information is available that can be used on statistics

Link copied to clipboard
abstract fun callStatusChanged(call: CallInterface?, callState: CallState?)

Triggered when status of call changed to hold, end, unhold etc.

Link copied to clipboard
abstract fun endCallFailed(call: CallInterface?, error: MobileError?)

This method is invoked when endCall has failed. This is the call back method for the endCall request

Link copied to clipboard
abstract fun endCallSucceeded(call: CallInterface?)

This method is invoked when endCall has succeeded. This is the call back method for the endCall request

Link copied to clipboard

Triggered when an error occurred related to the call service

abstract fun errorReceived(call: CallInterface?, error: MobileError?)

Triggered when an error occurred related to a call

Link copied to clipboard
abstract fun establishCallFailed(outgoingCall: OutgoingCallInterface?, error: MobileError?)

This method is invoked when establishCall has failed.

Link copied to clipboard
abstract fun establishCallSucceeded(outgoingCall: OutgoingCallInterface?)

This method is invoked when establishCall has succeeded.

Link copied to clipboard
abstract fun holdCallFailed(call: CallInterface?, error: MobileError?)

Method invoked when attempt to hold a call has failed.

Link copied to clipboard
abstract fun holdCallSucceed(call: CallInterface?)

Method invoked when attempt to hold a call has succeeded.

Link copied to clipboard
abstract fun mediaAttributesChanged(call: CallInterface?, mediaAttributes: MediaAttributes?)

This is the call back method for any call's media attributes change on the CallDelegate.

Link copied to clipboard
abstract fun muteCallFailed(call: CallInterface?, error: MobileError?)

Method invoked when attempt to mute a call has failed.

Link copied to clipboard
abstract fun muteCallSucceed(call: CallInterface?)

Method invoked when attempt to mute a call has succeeded.

Link copied to clipboard

This method is invoked when progress in call life-cycle changes.

Link copied to clipboard
abstract fun sendCustomParametersFail(call: CallInterface?, error: MobileError?)

This method is invoked when sending the custom SIP headers has failed.

Link copied to clipboard

This method is invoked when sending the custom SIP headers has succeeded.

Link copied to clipboard
abstract fun unHoldCallFailed(call: CallInterface?, error: MobileError?)

Method invoked when attempt to hold a call has failed.

Link copied to clipboard
abstract fun unHoldCallSucceed(call: CallInterface?)

Method invoked when attempt to hold a call has succeeded.

Link copied to clipboard
abstract fun unMuteCallFailed(call: CallInterface?, error: MobileError?)

Method invoked when attempt to unmute a call has failed.

Link copied to clipboard
abstract fun unMuteCallSucceed(call: CallInterface?)

Method invoked when attempt to unmute a call has succeeded.

Link copied to clipboard
abstract fun videoMuteFailed(call: CallInterface?, error: MobileError?)

The method that is called when an attempt to video mute fails in a call.

Link copied to clipboard
abstract fun videoMuteSucceed(call: CallInterface?)

The method that is called when an attempt to video mute succeeded in a call.

Link copied to clipboard
abstract fun videoStartFailed(call: CallInterface?, error: MobileError?)

Method invoked when attempt to start video on a call has failed.

Link copied to clipboard
abstract fun videoStartSucceed(call: CallInterface?)

Method invoked when attempt to start video on a call has succeeded.

Link copied to clipboard
abstract fun videoStopFailed(call: CallInterface?, error: MobileError?)

Method invoked when attempt to stop video on a call has failed.

Link copied to clipboard
abstract fun videoStopSucceed(call: CallInterface?)

Method invoked when attempt to stop video on a call has succeeded.

Link copied to clipboard
abstract fun videoUnMuteFailed(call: CallInterface?, error: MobileError?)

The method that is called when an attempt to video unMute failed in a call.

Link copied to clipboard
abstract fun videoUnMuteSucceed(call: CallInterface?)

The method that is called when an attempt to video unMute succeeded in a call.